import cn.golxen.commons.vo.BarcodeInfoVo;
import cn.golxen.goods.entity.Goods;

import org.junit.Test;
import org.springframework.beans.BeanUtils;

import java.time.LocalDateTime;
import java.util.Date;

public class test {
    @Test
    public void test1(){
        BarcodeInfoVo barcodeInfoVo=new BarcodeInfoVo("1","2","3",4.0,"5");
        Goods goods=new Goods();
        BeanUtils.copyProperties(barcodeInfoVo,goods);
        System.out.println(goods.toString());
        System.out.println(barcodeInfoVo);
    }

    @Test
    public void test2(){
        Date date = new Date();
        System.out.println(date);
    }
    @Test
    public void test3(){

    }
}
